package com.zk.monitormanagement.bean;

import java.util.List;

public class MonitorBean {


    /**
     * msg : 操作成功
     * data : [{"cameras":[{"state":"1","deviceserial":"742350312","cameraname":"测试设备2"}],"node":"3","islast":"1","unitcode":"4200101","unitname":"1班","pid":"91","sortorder":"1","id":"93"},{"cameras":[{"state":"1","deviceserial":"742350312","cameraname":"测试设备1"}],"node":"3","islast":"1","unitcode":"4200201","unitname":"1班","pid":"92","sortorder":"1","id":"94"}]
     * status : 1
     */

    private String msg;
    private String status;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * cameras : [{"state":"1","deviceserial":"742350312","cameraname":"测试设备2"}]
         * node : 3
         * islast : 1
         * unitcode : 4200101
         * unitname : 1班
         * pid : 91
         * sortorder : 1
         * id : 93
         */

        private String node;
        private String islast;
        private String unitcode;
        private String unitname;
        private String pid;
        private String sortorder;
        private String id;
        private List<CamerasBean> cameras;

        public String getNode() {
            return node;
        }

        public void setNode(String node) {
            this.node = node;
        }

        public String getIslast() {
            return islast;
        }

        public void setIslast(String islast) {
            this.islast = islast;
        }

        public String getUnitcode() {
            return unitcode;
        }

        public void setUnitcode(String unitcode) {
            this.unitcode = unitcode;
        }

        public String getUnitname() {
            return unitname;
        }

        public void setUnitname(String unitname) {
            this.unitname = unitname;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        public String getSortorder() {
            return sortorder;
        }

        public void setSortorder(String sortorder) {
            this.sortorder = sortorder;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public List<CamerasBean> getCameras() {
            return cameras;
        }

        public void setCameras(List<CamerasBean> cameras) {
            this.cameras = cameras;
        }

        public static class CamerasBean {
            /**
             * state : 1
             * deviceserial : 742350312
             * cameraname : 测试设备2
             */

            private String state;
            private String deviceserial;
            private String cameraname;

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getDeviceserial() {
                return deviceserial;
            }

            public void setDeviceserial(String deviceserial) {
                this.deviceserial = deviceserial;
            }

            public String getCameraname() {
                return cameraname;
            }

            public void setCameraname(String cameraname) {
                this.cameraname = cameraname;
            }
        }
    }
}
